package com.jxdinfo.hussar.example.sbjx.testorgan.model;

import com.jxdinfo.hussar.platform.core.base.entity.BaseEntity;
import org.apache.ibatis.type.Alias;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 组织机构树实体类
 */
@Alias("sbjx.testorgan.TestOrgan")
@TableName("test_organ")
public class TestOrgan implements BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 组织编码
     */
    @TableId("ORGAN_ID")
    private Long organId;

    /**
     * 组织代码
     */
    @TableField("ORGAN_CODE")
    private String organCode;

    /**
     * 组织名称
     */
    @TableField("ORGAN_NAME")
    private String organName;

    /**
     * 全机构编码
     */
    @TableField("ORGAN_FCODE")
    private String organFcode;

    /**
     * 全路径
     */
    @TableField("ORGAN_FNAME")
    private String organFname;

    /**
     * 组织简称
     */
    @TableField("SHORT_NAME")
    private String shortName;

    /**
     * 组织类型编码
     */
    @TableField("ORGAN_TYPE")
    private String organType;

    /**
     * 工作地点编码
     */
    @TableField("WORKPLACE_ID")
    private String workplaceId;

    /**
     * 记录生效日期
     */
    @TableField("BEGIN_DATE")
    private String beginDate;

    /**
     * 记录失效日期
     */
    @TableField("END_DATE")
    private String endDate;

    /**
     * 对应的系统更改号
     */
    @TableField("SCN")
    private Integer scn;

    /**
     * 使用标识
     */
    @TableField("DEL_FLAG")
    private String delFlag;

    /**
     * 创建者
     */
    @TableField("CREATOR")
    private Long creator;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    /**
     * 上次编辑者
     */
    @TableField("LAST_EDITOR")
    private Long lastEditor;

    /**
     * 上次编辑时间
     */
    @TableField("LAST_TIME")
    private LocalDateTime lastTime;

    /**
     * 不同组织机构类型编码
     */
    @TableField("PARENT_TYPE_CODE")
    private String parentTypeCode;

    public Long getOrganId() {
        return organId;
    }

    public void setOrganId(Long organId) {
        this.organId = organId;
    }

    public String getOrganCode() {
        return organCode;
    }

    public void setOrganCode(String organCode) {
        this.organCode = organCode;
    }

    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public String getOrganFcode() {
        return organFcode;
    }

    public void setOrganFcode(String organFcode) {
        this.organFcode = organFcode;
    }

    public String getOrganFname() {
        return organFname;
    }

    public void setOrganFname(String organFname) {
        this.organFname = organFname;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getOrganType() {
        return organType;
    }

    public void setOrganType(String organType) {
        this.organType = organType;
    }

    public String getWorkplaceId() {
        return workplaceId;
    }

    public void setWorkplaceId(String workplaceId) {
        this.workplaceId = workplaceId;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Integer getScn() {
        return scn;
    }

    public void setScn(Integer scn) {
        this.scn = scn;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Long getLastEditor() {
        return lastEditor;
    }

    public void setLastEditor(Long lastEditor) {
        this.lastEditor = lastEditor;
    }

    public LocalDateTime getLastTime() {
        return lastTime;
    }

    public void setLastTime(LocalDateTime lastTime) {
        this.lastTime = lastTime;
    }

    public String getParentTypeCode() {
        return parentTypeCode;
    }

    public void setParentTypeCode(String parentTypeCode) {
        this.parentTypeCode = parentTypeCode;
    }

    @Override
    public String toString() {
        return "testOrgan{" + "organId=" + organId + ", organCode=" + organCode + ", organName=" + organName + ", organFcode=" + organFcode + ", organFname=" + organFname + ", shortName=" + shortName + ", organType=" + organType + ", workplaceId=" + workplaceId + ", beginDate=" + beginDate + ", endDate=" + endDate + ", scn=" + scn + ", delFlag=" + delFlag + ", creator=" + creator + ", createTime=" + createTime + ", lastEditor=" + lastEditor + ", lastTime=" + lastTime + ", parentTypeCode=" + parentTypeCode + "}";
    }
}
